#!/usr/bin/php
<?php

function main($argc, & $argv)
{
    echo PHP_OS, PHP_EOL;
    echo PHP_VERSION, PHP_EOL;
    echo DIRECTORY_SEPARATOR, PHP_EOL;
    echo PHP_PREFIX, PHP_EOL;
    echo PHP_BINDIR, PHP_EOL;
    echo PHP_LIBDIR, PHP_EOL;

    echo posix_getlogin(), PHP_EOL;

    echo php_uname(), PHP_EOL;
    print_r(posix_uname());

    return 0;

    echo posix_getuid(), PHP_EOL;

    echo getmyuid(), PHP_EOL;

    print_r(posix_getpwnam("kyo"));
    print_r(posix_getpwuid(0));

    return 0;
}

exit(main($argc, $argv));

